home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / ProgramFilesFolder / Data / Menu / scr / JoinMenu.scr < prev    next >
Encoding:
Text File  |  2006-01-30  |  3.1 KB  |  121 lines

  1. !Include("../UIDef/UI.def")
  2. //------ UI stuff -----------------------------
  3. Interface("UI_CREATE_SERVER_MENU")
  4. {
  5.     Command(1)
  6.     Notify(1)
  7.     CanFocus(0)
  8.     TextureFocusAlpha(1.0)
  9.     TextFocusAlpha(1.0)
  10.     SelKeyUp(0)
  11.     SelKeyDown(0)
  12.     
  13. //--- ListBox pattern for UI_CREATE_SERVER_MENU :
  14.     !Include("../uidef/ListBox.def")
  15.  
  16.     Text("")
  17.     TextAlpha(1.0)
  18.     TextColor(0.0,0.0,0.0)
  19.     Font("MSSansSerif8")
  20.     TextPosFlags(34)
  21.     Mouse(1)
  22.     Keyboard(1)
  23.     Joy(0)
  24.     Visible(0)
  25.     ParentPositioning(0)
  26.     PreviousElemPositioning(0)
  27.     ParentAlignX(-1)
  28.     ParentAlignY(-1)
  29.     ParentSizingX(0)
  30.     ParentSizingY(0)
  31.     TextureID("Background")
  32.     TextureAlpha(1.0)
  33.     LogicSize(1.0,1.0)
  34.     LogicPos(0.0,0.0)
  35.  
  36.     Menu("UIMenu","ID_MENU","Specific")
  37.     {
  38.         Command(1)
  39.         Notify(1)
  40.         CanFocus(1)
  41.         TextureFocusAlpha(1.0)
  42.         TextFocusAlpha(1.0)
  43.         SelKeyUp(200)
  44.         SelKeyDown(208)
  45.         
  46. //--- MenuButton pattern for ID_MENU :
  47.         !Include("..\\uidef\\menubutton.def")
  48.  
  49.         Text("")
  50.         TextAlpha(1.0)
  51.         TextColor(1.0,1.0,1.0)
  52.         Font("MSSansSerif8")
  53.         TextPosFlags(34)
  54.         Mouse(1)
  55.         Keyboard(1)
  56.         Joy(0)
  57.         Visible(1)
  58.         ParentPositioning(1)
  59.         PreviousElemPositioning(0)
  60.         ParentAlignX(-1)
  61.         ParentAlignY(-1)
  62.         ParentSizingX(0)
  63.         ParentSizingY(0)
  64.         FrameCornerSize(13,13)
  65.         TextureID("ModalWindow")
  66.         TextureAlpha(1.0)
  67.         LogicSize(0.3,0.3)
  68.         LogicPos(0.65375,0.35166666)
  69.  
  70.         MenuButton("UIMenuButtonInflateText","ID_BTN_JOIN","Join","","Regular")
  71.         {
  72.             ForceTextLowerCase()
  73.             Text("Join")
  74.             LogicSize(0.048196975,0.029336328)
  75.             LogicPos(0.4196715,0.50883186)
  76.         }// [UIMenuButtonInflateText] ID_BTN_JOIN
  77.  
  78.         MenuButton("UIMenuButtonInflateText","ID_BACK","&&MenuMainExit&&","","Regular")
  79.         {
  80.             ForceTextLowerCase()
  81.             Text("&&MenuMainExit&&")
  82.             LogicSize(0.051581934,0.029336328)
  83.             LogicPos(-0.03511577,1.5195032)
  84.         }// [UIMenuButtonInflateText] ID_BACK
  85.     }// [UIMenu] ID_MENU
  86.  
  87.     ControlObject("UIListBox","ID_LISTBOX","Regular.ListBox")
  88.     {
  89.         LogicPos(0.2836914,0.1796875)
  90.     }// [UIListBox] ID_LISTBOX
  91.  
  92.     Window("UIWindow","ID_FRAME","Specific")
  93.     {
  94.         Mouse(0)
  95.         Keyboard(0)
  96.         Joy(0)
  97.         Visible(1)
  98.         ParentPositioning(1)
  99.         PreviousElemPositioning(0)
  100.         OtherElemAsParentPositioning("ID_LISTBOX")
  101.         ParentAlignX(4)
  102.         ParentAlignY(4)
  103.         ParentSizingX(1)
  104.         ParentSizingY(1)
  105.         FrameCornerSize(13,13)
  106.         TextureID("ModalWindow")
  107.         TextureAlpha(1.0)
  108.         LogicSize(1.1,1.1)
  109.         LogicPos(-0.050000057,-0.050000012)
  110.     }// [UIWindow] ID_FRAME
  111.  
  112.  
  113.     EditTexture("er_t_red.png")
  114.     EditBorderWidth(2.0)
  115.     EditBorderSens(3.0)
  116.     EditCursor("c_arrow.png")
  117.     EditCursorSize("c_resize.png")
  118.     EditCursorMove("c_move.png")
  119.     Cursor("cursor.png")
  120. }
  121.